<template>
  <el-dialog title="查看标的" :visible="isShowObjectDialog" @close="dialogClose">
    <el-table  :data="tableData" style="width: 100%; margin-bottom: 5px;" border stripe highlight-current-row
      :header-cell-style="{textAlign:'center'}" :cell-style="{textAlign:'center'}">
      <el-table-column property="name" label="标的名称">
      </el-table-column>
      <el-table-column property="type" label="标的类型">
      </el-table-column>
      <el-table-column property="startPrice" label="起拍价">
      </el-table-column>
      <el-table-column property="earnestMoney" label="保证金">
      </el-table-column>
      <el-table-column property="retentionPrice" label="保留价">
      </el-table-column>
      <el-table-column property="releaseState" label="发布状态">
      </el-table-column>
      <el-table-column property="auctionState" label="拍卖状态">
      </el-table-column>
      <el-table-column property="number" label="展示顺序">
      </el-table-column>
      <el-table-column property="time" label="操作时间" width="200">
      </el-table-column>
    </el-table>
  </el-dialog>
</template>

<script>
export default {
    data(){
        return{
            tableData:[
                {
                    name: '小汽车',
                    type: '机动车',
                    startPrice: 1000,
                    earnestPrice: 200,
                    retentionPrice: 2000,
                    releaseState: '已发布',
                    auctionState: '',
                    number: 1,
                    time: '2022-09-29 14:00:00'
                }
            ]
        }
    },
    props:{
        isShowObjectDialog:{
            type:Boolean
        },
    },
    methods:{
        dialogClose(){ 
            this.$emit('dialogClose');
        },
    }
}
</script>

<style>

</style>